package com.guapi.utils;

public class CacheUtils {

    //@Autowired
    //private ReplyService replyService;
    //
    //@Autowired
    //private DiscussService discussService;
    //
    //@Autowired
    //private UserService userService;
    //
    //private List<Discuss> discussList;
    //
    //private List<User> userList ;
    //
    //private List<Reply> replyList;
    //
    //public void init(){
    //    discussList=discussService.getAllDiscuss();
    //    replyList=replyService.getAllReply();
    //    userList=userService.getAllUsers();
    //}
    //public void addCache(){
    //    discussService.setCache("discussList",discussList);
    //    replyService.setCache("replyList",replyList);
    //    userService.setCache("userList",userList);
    //}
    //public void removeCache(){
    //    discussService.deleteCache("discussList");
    //    replyService.deleteCache("replyList");
    //    userService.deleteCache("userList");
    //}

}